Skip to content

IQuaternaryDictionary.AddOrUpdate(TKey, TValue) method

Defined in

Type: IQuaternaryDictionary Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

void AddOrUpdate(TKey key, TValue value)

Summary: Adds a new element with the specified key and value, or updates the value if the key already exists.

Parameters

NameTypeDescription
keyTKeyThe key of the element to add or update. Cannot be null.
valueTValueThe value to set for the specified key.